package com.bitsbazaar.dao;

import java.util.List;


public interface BaseDao {

///	public void saveOrUpdate(Object obj);

	public Object findById(Class className,Long id);
	public List<Object> findByProperty(Class class1,String propertyName,Object propertyValue);
	Long save(Object obj);
	Boolean update(Object obj);
	Boolean deleteById(Class class1, Long id);
	List<Object> getAll(Class class1);
	List<Object> findByProperty(Class class1, String propertyName1,
			Object propertyValue1, String propertyName2, Object propertyValue2);
}
